package com.feng.fengDUtil.dao.exception;


public class IdPkConflictOrBothNullException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    public IdPkConflictOrBothNullException() {
        this("一个bean要么是Id类型，要吗是Pk类型，两种类型时互斥关系，不能同时共存");
    }

    public IdPkConflictOrBothNullException(String message, Throwable cause) {
        super(message, cause);
    }

    public IdPkConflictOrBothNullException(String message) {
        super(message);
    }

    public IdPkConflictOrBothNullException(Throwable cause) {
        super(cause);
    }
}
